package com.gaoyu.regexparser.Expression;

/**
 * Created by gaoyu on 2017/5/13.
 */

public abstract class Expression {

    protected char mValue;

    protected boolean mHasMatchDone = false;


    public boolean hasMatchDone() {return mHasMatchDone;}

    public void setValue(char c) {mValue = c;}

    public abstract boolean match(char c);

    public abstract boolean interpret(char c);
}
